#pragma once
#include "afxwin.h"


// CCmdManage dialog

class CCmdManage : public CDialogEx
{
	DECLARE_DYNAMIC(CCmdManage)

public:
	CCmdManage(CWnd* pParent, CMeasureProject& project);   // standard constructor
	virtual ~CCmdManage();

// Dialog Data
	enum { IDD = IDD_CMD_MANAGE };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
  afx_msg void OnOk();
  afx_msg void OnCancel();
  afx_msg void OnCmdAdd();
  afx_msg void OnCmdDelete();
  afx_msg void OnCmdSelChange();
  afx_msg void OnItemSelChange();
  afx_msg void OnItemMoveup();
  afx_msg void OnItemMovedown();
  virtual BOOL OnInitDialog();

private:
  CMeasureProject&  project_;
  CEdit wnd_cmd_serial_;
  CButton wnd_cmd_delete_;
  CListBox wnd_cmd_list_;
  CEdit wnd_cmd_cmd_;
  CListBox wnd_station_list_;
  CListBox wnd_item_list_;
  CListBox wnd_intermediate_list_;
  CButton wnd_item_moveup_;
  CButton wnd_item_movedown_;
};
